#include "reg52.h"

#define SMG_DROP P0
#define u8 unsigned char

u8 gsmg[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};

void delay(unsigned int i)
{
	while(i--);
}


u8 x;
void main()
{
	while(1)
	{
		for(x=0;x<16;x++)
		{
			SMG_DROP = gsmg[x];
			delay(50000);
		}
	}
}
